#include <57header.h>
int main(int argc,char*argv[])
{
   char str[] = "cd    abc/def/dir";

   char *p = strtok(str,  " ");
   printf( "p=%s  \n",   p);

   p = strtok(NULL,  "/");
   printf( "p=%s  \n",   p);


   p = strtok(NULL,  "/");
   printf( "p=%s  \n",   p);


   p = strtok(NULL,  "/");
   printf( "p=%s  \n",   p);
   return 0;
}
